package com.geostar.constructionland.index.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import javafx.scene.chart.ValueAxis;
import lombok.Data;

import java.util.Date;

/**
 * @author yelll
 * @since 2020-3-16 17:31
 * 评价要素
 **/
@TableName(value = "zb_rate_element")
@Data
@ApiModel(description = "指标评价元素")
public class RateElement {
    /**元素id**/
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(value = "ele_code")
    private String eleCode;
    /**元素sql**/
    @TableField(value = "sql")
    private String sql;
    /**sql时间字段**/
    @TableField(value = "sql_time_colm")
    private String sqlTimeColm;
    /**sql行政区划字段**/
    @TableField(value = "sql_areacode_colm")
    private String sqlAreaCodeColm;
    /**元素计算类名**/
    @TableField(value = "class_name")
    private String className;
    /**元素计算方法**/
    @TableField(value = "method_name")
    private String methodName;
    /**元素描述**/
    @TableField(value = "description")
    private String description;
    /**数据来源方式**/
    @TableField(value = "source")
    private String source;
    /**创建时间**/
    @TableField(value = "create_time")
    private Date createTime;

    public RateElement() {
    }
}
